#copyright by AppleCai
KERNELDIR :=/home/applecai/studybr/buildroot-2020.05.2/output/build/linux-custom
CURRENT_PATH := $(shell pwd)

obj-m := US100_drv6.o

build: kernel_modules

kernel_modules:
	$(MAKE) -C $(KERNELDIR) M=$(CURRENT_PATH) modules

clean:
	$(MAKE) -C $(KERNELDIR) M=$(CURRENT_PATH) clean